package com.king.web.browser;

import com.king.web.BasicController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MainController extends BasicController {

    @GetMapping({"/index", ""})
    public String index() {
        return "index";
    }

    @GetMapping("/welcome")
    public String main() {
        return "welcome";
    }

}
